package com.rchat.pocmini.bean;

import com.aso.common.http.bean.BaseBean;
import com.google.gson.annotations.SerializedName;

/**
 * @Description ：
 * @Author itsdf07
 * @Time 2017/10/17
 */

public class AppUpdateBean extends BaseBean {


    /**
     * data : {"update":"1","versionName":"1.6.1","desc":"修复已知bug，增加app的稳定性，完善推送逻辑","path":"http://121.199.44.234:9381/app-debug.apk","versionCode":"99","size":1490009,"isForce":1,"md5":"60E2EE3F4BA318D5FCE2F0FDE27BF75D"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * update : 1
         * versionName : 1.6.1
         * desc : 修复已知bug，增加app的稳定性，完善推送逻辑
         * path : http://121.199.44.234:9381/app-debug.apk
         * versionCode : 99
         * size : 1490009.0
         * isForce : 1
         * md5 : 60E2EE3F4BA318D5FCE2F0FDE27BF75D
         */

        private String update;
        private String versionName;
        @SerializedName("desc")
        private String descX;
        private String path;
        private String versionCode;
        private double size;
        private int isForce;
        private String md5;

        public String getUpdate() {
            return update;
        }

        public void setUpdate(String update) {
            this.update = update;
        }

        public String getVersionName() {
            return versionName;
        }

        public void setVersionName(String versionName) {
            this.versionName = versionName;
        }

        public String getDescX() {
            return descX;
        }

        public void setDescX(String descX) {
            this.descX = descX;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getVersionCode() {
            return versionCode;
        }

        public void setVersionCode(String versionCode) {
            this.versionCode = versionCode;
        }

        public double getSize() {
            return size;
        }

        public void setSize(double size) {
            this.size = size;
        }

        public int getIsForce() {
            return isForce;
        }

        public void setIsForce(int isForce) {
            this.isForce = isForce;
        }

        public String getMd5() {
            return md5;
        }

        public void setMd5(String md5) {
            this.md5 = md5;
        }
    }
}
